package com.xuan.enums;

import lombok.Getter;

@Getter
public enum UserAction {
    LOGIN(1, "登录"),
    REGISTER(2, "注册"),
    UPDATE(3, "更新"),
    RESET_PASSWORD(4, "重置密码"),
    UPDATE_USERINFO(5, "修改用户信息"),
    QUERY(6,  "查询用户信息");
    private final Integer code;
    private final String message;
    UserAction(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
